package com.zhangxujie.litewords.db;

import androidx.room.Database;
import androidx.room.RoomDatabase;

import com.zhangxujie.litewords.dao.AchievementDAO;
import com.zhangxujie.litewords.dao.ReciteWordsDAO;
import com.zhangxujie.litewords.dao.WordsDAO;
import com.zhangxujie.litewords.entity.Achievement;
import com.zhangxujie.litewords.entity.OnlineData;
import com.zhangxujie.litewords.entity.ReciteWords;
import com.zhangxujie.litewords.entity.Words;

@Database(entities = {Words.class, ReciteWords.class, OnlineData.class, Achievement.class}, version = 2, exportSchema = false)
public abstract class AppDatabase extends RoomDatabase {
    public abstract WordsDAO wordsDao();
    public abstract ReciteWordsDAO reciteWordsDAO();
    public abstract AchievementDAO achievementDAO();

}